<template>
  <el-container style="height: 100%">
    <el-aside width="auto">
      <!--  使用CommonAside组件    -->
      <common-aside></common-aside>
    </el-aside>
    <el-container>
      <el-header>
        <common-header></common-header>
      </el-header>
      <common-tag></common-tag>
      <el-main>
        <router-view></router-view>
      </el-main>
<!--      <el-footer>Footer</el-footer>-->
    </el-container>
  </el-container>
</template>
<script>
import CommonAside from "@c/CommonAside";
import CommonHeader from "@c/CommonHeader";
import CommonTag from "@c/CommonTag";
export default {
  components: {
    CommonAside, CommonHeader, CommonTag
  },
  data() {
    return {}
  }
}
</script>
<style lang="less" scoped>
  .el-main {
    padding-top: 0;
  }
  .el-header, .el-footer {
    background-color: #303133;
  }
  .el-aside {
    background-color: #606266;
    color: #fff;
  }
</style>